package net.xuzhen97.distributed.transaction.course.common.exception;

import lombok.Data;

@Data
public class CheckException extends RuntimeException{

    private String code;

    public CheckException(String msg){
        super(msg);
    }

    public CheckException(String code, String msg){
        super(msg);
        this.code = code;
    }
}